﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Categorias.aspx.cs" Inherits="AuctionSite.Categorias" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:GridView ID="subcat" runat="server" AutoGenerateColumns="False" 
                CellPadding="4" DataKeyNames="cat_id" 
                ForeColor="#333333" GridLines="None">
                 <Columns>
                    <asp:BoundField DataField="sub_nome" HeaderText="sub_nome" 
                        SortExpression="cat_nome" Visible="False" />
                    <asp:BoundField DataField="sub_id" HeaderText="sub_id" InsertVisible="False" 
                        ReadOnly="True" SortExpression="sub_id" Visible="False" />
                    <asp:HyperLinkField DataNavigateUrlFields="sub_id" 
                        DataNavigateUrlFormatString="~/Subcategorias.aspx?subcat={0}" 
                        DataTextField="sub_nome" />
                </Columns>
                   </asp:GridView>
</asp:Content>
